<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>陵水县智慧工地云平台</title>
    <link href="../static/css/smartsite/css/bootstrap.min.css" th:href="@{/css/smartsite/css/bootstrap.min.css}" rel="stylesheet">
    <link rel="stylesheet" href="../static/css/smartsite/css/reset.css" th:href="@{/css/smartsite/css/reset.css}">
    <link rel="stylesheet" href="../static/css/smartsite/css/public.css" th:href="@{/css/smartsite/css/public.css}">
</head>

<body>
    <div class="wrapper wrapper-content animated fadeInRight">
        <!-- 头部-->
        <div class="title">
            <span>陵水县智慧工地云平台</span>
            <br>
            <img src="../static/img/smartsite/images/title.png" th:src="@{/img/smartsite/images/title.png}" alt="">
            <!-- <span class="loginout pull-right"><i class="fa fa-sign-out"></i>退出</span> -->
        </div>
        <!--导航栏  -->
        <div class="row t-navbar">
            <ul class="tabs">
                <li class="active" data-id="/indexmain"><i class="mk mr"></i><i class="mk ml"></i><span>首页</span></li>
                <li class="" data-id="/indextajijianche"><i class="mk mr"></i><i class="mk ml"></i><span>塔机监测</span></li>
                <li class="" data-id="/indexshengjiangji"><i class="mk mr"></i><i class="mk ml"></i><span>升降机监测</span>
                </li>
                <li class="" data-id="/indexenvironment"><i class="mk mr"></i><i class="mk ml"></i><span>环境监测</span></li>
                <li class="" data-id="/indexvideo"><i class="mk mr"></i><i class="mk ml"></i><span>远程视频</span></li>
                <li class="" data-id="/indexlaborName"><i class="mk mr"></i><i class="mk ml"></i><span>工地实名制</span></li>
                <!-- <a href="/indexnew"><li class="" data-id="/indexnew"><i class="mk mr"></i><i class="mk ml"></i><span>过程管理</span></li></a> -->
            </ul>
        </div>

        <!-- 内容主体 -->
        <div class="word-area">
            <div class="content active">
                <iframe class="dy_iframe" id="iframeMain" name="iframe0" width="100%" height="100%" src="/indexmain"
                    frameborder="0" scrolling="no" seamless></iframe>
            </div>
        </div>
    </div>
    <script src="./js/jquery.min.js"> </script>
    <script src="./js/bootstrap.min.js"></script>
    <script>
        $(document).ready(function () {
            $('.tabs li').click(function () {
                $(this).addClass('active').siblings().removeClass('active');
                var index = $(this).index();
                if($(this).attr("data-id") == '/indexnew'){
                	
                }
                	
                $("#iframeMain").attr("src", $(this).attr("data-id"));
            })
        })
    </script>

</body>

</html>